package com.burgeon.backend.SHOPBACKEND.mappers;

import com.burgeon.backend.SHOPBACKEND.entity.recored.Relation;

public interface MessageMapper {
    //将从微信发给导购的信息存入数据库
    Integer InMessage(String content, String fromUserName, String createTime, String senUserId, String state);
    //将从安卓发送给微信用户的信息存入
    Integer InDaoMessage(String context, String openId, String daoId, String time);
    //从二维码关注公众号，获取导购信息，存到数据库
    Integer InRelation(String openId, String daoId);
    //取消关注，删除关系
    Integer DeRelation(String openId);
    //根据openid查询导购id
    Relation getDaoId(String openId);

    Integer upDaoId(String id,String daoId);

}
